package com.genersoft.iot.vmp.storager.dao;

import com.genersoft.iot.vmp.gb28181.bean.Device;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用于存储设备信息
 */
@Mapper
@Repository
public interface YParamConfigMapper {

   /* @Select("SELECT id,config_name,config_key,config_value,status,remarks,create_time,update_time FROM y_param_config WHERE status = 1  and config_key=${configKey}")
    Bean getParamConfigByKey(String configKey);*/

    @Select("SELECT config_value FROM y_param_config WHERE status = 1  and config_key='${configKey}'")
    String getParamValueByKey(String configKey);

}
